public class SinlyLinkMain
{
    public static void main(String[] args)
    {
        SinlyLink slk = new SinlyLink();
        slk.insert(1);
        slk.insert(2);
        slk.insert(3);
        slk.insert(4);
        slk.insert(5);
        slk.insert(1,5);
        slk.remove(0);
        System.out.println(slk.search2(5));
        System.out.println(slk.toString());
        slk.set(0,1);
        System.out.println(slk.toString());
        System.out.println(slk.equals(4));
    }
}
